package com.zhengqing.system.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @description:
 * @author: des1gn
 * @date: Created in 2021/8/4 11:48
 * @version: V1.0
 * @modified By:
 */
@ConfigurationProperties(prefix = "email")
@Component
@Data
public class EmailProperties {
    private String address="des1gnw1sh@126.com";
    private String password="PXWTDSLHYJWHQAQU";
    private String host ="smtp.126.com";
    private Integer port =25;
    private boolean sslEnable =false;
    private boolean starttlsEnable =false;
    private boolean auth=true;
}
